Lightweight Shape Analysis Based on Physical Types
نویسندگان
چکیده
To understand and detect possible errors in programs manipulating memory, static analyses of various levels precision have been introduced, yet it remains hard to capture both information about the byte-level layout precise global structural invariants. Classical pointer struggle with latter, whereas advanced shape incur a higher computational cost. In this paper, we propose new memory analysis by abstract interpretation that summarizes heap means type invariant, using novel kind physical types, which express values memory. terms expressiveness, our abstraction aims at middle point between typical analyses, hence lightweight name. We pair summarizing retained staged points-to predicates refines regions are use, hereby allowing strong updates without introducing disjunctions. show combination abstractions suffices verify spatial safety non-trivial invariants presence low-level constructs such as arithmetic dynamic allocation, on C binary code.
منابع مشابه
Lightweight Functional Session Types
Row types provide an account of extensibility that combines well with parametric polymorphism and type inference. We discuss the integration of row types and session types in a concurrent functional programming language, and how row types can be used to describe extensibility in session-typed communication.
متن کاملLightweight Verification with Dependent Types
Dependent types, studied for many years in Logic, have recently been gaining attention in Functional Programming Languages for expressing rich properties as types. A simple example is a type 〈list A n〉, for lists of length n holding objects of type A. A more complex example is 〈trm G T 〉, for terms in some object language which have object-language type T in context G. Dependently typed program...
متن کاملA Topology-Based Approach for Lightweight 3-Valued Logic Shape Analysis
Although a highly desirable static analysis practice, precise shape analysis is widely considered a computational dead-end for most practical purposes. In this work, we explore ways to overrule this belief, by revisiting and improving over a well-founded shape analysis framework, that is based on 3-valued logic abstraction [6]. While the worst-case exponential asymptotic complexity bound induce...
متن کاملShape Modeling and Shape Analysis Based on Singularities
To analyze given object shapes, it is necessary rst to model the shapes and then to analyze the models. This paper proposes a method of modeling and analyzing two-dimensional (2D) and three-dimensional (3D) shapes based on singularities. First, a function is dened on an object. The object is then modeled by the distribution of the singularities of the function. Finally, the extracted singular p...
متن کاملGait recognition based on Procrustes shape analysis
Gait recognition has recently attracted increasing attention, especially in vision-based human identification at a distance in visual surveillance. This paper proposes a simple but efficient gait recognition algorithm based on statistical shape analysis. For each gait sequence, a background subtraction procedure is used to segment spatial silhouettes of the walking figures from the background. ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Lecture Notes in Computer Science
سال: 2022
ISSN: ['1611-3349', '0302-9743']
DOI: https://doi.org/10.1007/978-3-030-94583-1_11